package com.woniuxy.system.controller;

import com.woniuxy.common.utils.TokenUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yellow Doctor
 * @date 2025-03-28
 * @desc 蜗牛创想：www.woniuxy.com
 */
@RestController
public class TestController {

    @GetMapping("/test/abc")
    public String test01(){
        return "system abc";
    }

    @GetMapping("/test/hello")
    public String testHello(){
        String userId = TokenUtils.getUserId();
        return "system hello :" + userId;

    }


}
